package com.wzd.imservice.service;

import com.wzd.imservice.entity.Message;
import com.wzd.imservice.entity.query.HistoryMessageQuery;

import java.util.List;

/**
 * @ProjectName: e_learning
 * @Package: com.wzd.imservice.service
 * @ClassName: MessageService
 * @Author: lofxve
 * @Description:
 * @Date: 2021/4/20 10:35
 * @Version: 1.0
 */
public interface MessageService {
    boolean save(Message message);

    List<Message> getHistoryMessage(HistoryMessageQuery historyMessageQuery);
}
